<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>验证码 - E特尔诺</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
        }
        .container {
            max-width: 600px;
            margin: 20px auto;
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        .header {
            background: linear-gradient(135deg, #1a237e, #3949ab);
            color: white;
            padding: 30px;
            text-align: center;
        }
        .content {
            padding: 30px;
        }
        .code-box {
            background-color: #f5f8ff;
            border: 1px solid #e5eaff;
            border-radius: 6px;
            padding: 20px;
            margin: 25px 0;
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            letter-spacing: 6px;
            color: #1a237e;
        }
        .footer {
            background-color: #f5f5f5;
            padding: 20px;
            text-align: center;
            font-size: 12px;
            color: #888;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .button {
            background-color: #1a237e;
            color: white;
            padding: 12px 24px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: bold;
            display: inline-block;
            margin-top: 20px;
        }
        .note {
            font-size: 13px;
            color: #888;
            margin-top: 20px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <div class="logo">E特尔诺</div>
        <p>API管理平台</p>
    </div>
    <div class="content">
        <h2>您好！</h2>
        <p>感谢您注册E特尔诺API管理平台。以下是您的验证码：</p>

        <div class="code-box" th:text="${code}">123456</div>

        <p>该验证码将在10分钟内有效，请尽快完成注册流程。</p>

        <p>如果这不是您本人的操作，请忽略此邮件。</p>

        <p class="note">注意：请勿回复此邮件，此邮箱不接收回复邮件。</p>
    </div>
    <div class="footer">
        <p>© 2024 E特尔诺. 保留所有权利</p>
        <p>本邮件是系统自动发送，请勿回复</p>
    </div>
</div>
</body>
</html>